Skip to main content

LoadFromStream

Description

Loads 3D model from a specified stream.

ValueTypeDescription
AFileNamestringThe path to the loaded file
StreamstringThe stream from which 3D model will be read
ADoClearBooleanThe value indicating whether to clear the scene or not (True by default)

Syntax

procedure LoadFromStream(const AFileName: string; Stream: TStream; ADoClear: Boolean = True);